import React from 'react'
import './index.less'
import logger from 'common/logger'
/**
 * 类别：组件
 * 功能：提供我的钱包分类标签
 * 示例：我的银行卡，我的账单，钱包余额
 */
class Alert extends React.Component <IChildProps,void>{
    constructor(props, context) {
        super(props, context);
        this.state = {
            show : props.show
        }
    }
    componentDidMount () { 

    }
    componentWillUnMount () { 
    }

    render() {
        return (
            <div className="ActionSheet-bg" onClick={this.props.close}>
                <div className="ActionSheet-view">
                    <div className="ActionSheet-content">
                        <div>{this.props.children}</div>
                    </div>
                </div>
            </div> 
        )
    }
}

export default Alert